package org.dromara.system.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.system.domain.Brand;
import org.dromara.system.domain.common.BasePageReqDTO;

/**
 * 品牌业务对象 brand
 *
 * @author Lion Li
 * @date 2025-07-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = Brand.class, reverseConvertGenerate = false)
public class BrandBo extends BasePageReqDTO {

    /**
     *
     */
    private Long id;

    /**
     *
     */
    private Long userId;

    /**
     * 编码
     */
//    @NotBlank(message = "编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String code;

    /**
     * 名称
     */
    @NotBlank(message = "名称不能为空", groups = {AddGroup.class, EditGroup.class})
    private String brandName;

    /**
     * 图片
     */
    private String image;


    /**
     * 备注
     */
    private String remark;


    private String userName;

    private String affiliatedNickName;

    private String affiliatedSerialNumber;


}
